From: Sachin Kamat Date: Thu, 10 May 2012 06:38:40 +0000 (-0300) Subject: [media] s5p-jpeg: Make s5p_jpeg_g_selection function static X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~8592^2~2135 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=9f3bd320fc5a08f7892424978ad8e542357759a2;p=linux-4.9.git [media] s5p-jpeg: Make s5p_jpeg_g_selection function static Makes the function s5p_jpeg_g_selection static (detected by sparse). Signed-off-by: Sachin Kamat Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/s5p-jpeg/jpeg-core.c b/drivers/media/video/s5p-jpeg/jpeg-core.c index ecf7b0b04c78..2d7dd8ac73f3 100644 --- a/drivers/media/video/s5p-jpeg/jpeg-core.c +++ b/drivers/media/video/s5p-jpeg/jpeg-core.c @@ -813,7 +813,7 @@ static int s5p_jpeg_streamoff(struct file *file, void *priv, return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type); } -int s5p_jpeg_g_selection(struct file *file, void *priv, +static int s5p_jpeg_g_selection(struct file *file, void *priv, struct v4l2_selection *s) { struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv);